package edu.yctc.weblog.constant;

/**
 * 
 * @className TemplatePath
 * @description 模板页地址
 * @author zyj
 * @date 2020年6月16日
 *
 */
public class TemplatePath {

    /** 分隔符 */
    public static final String S = "/";
    /** 通配符 */
    public static final String W = "*";

    // admin start
    public static final String ADMIN = "admin";
    public static final String ADMIN_SIGN_IN = "sign-in";
    public static final String ADMIN_INDEX = "index";
    public static final String ADMIN_DIST = "dist";
    public static final String ADMIN_PLUGINS = "plugins";
    public static final String ADMIN_PROFILE = "profile";
    public static final String ADMIN_PASSWORD = "password";
    public static final String ADMIN_NAME = "name";
    public static final String ADMIN_LOGOUT = "logout";
    // admin end

    // category start
    public static final String CATEGORY = "category";
    public static final String CATEGORY_PAGE = "category-page";
    // category end

    // tags start
    public static final String TAGS = "tags";
    public static final String TAGS_PAGE = "tags-page";
    // tags end

    // blog start
    public static final String BLOGS = "blogs";
    public static final String BLOGS_EDIT = "edit";
    public static final String BLOGS_PAGE = "blog";
    public static final String BLOGS_MD = "md";
    public static final String BLOGS_UPLOAD_FILE = "upload-file";
    // blog end

    // link start
    public static final String LINKS = "links";
    public static final String LINKS_PAGE = "link";
    public static final String LINKS_INFO = "info";
    // link end

    // common start
    public static final String COMMON = "common";
    public static final String COMMON_KAPTCHA = "kaptcha";
    // common end

    // error start
    public static final String ERROR_PATH = "/error";
    public static final String ERROR_404 = "error/error_404";
    public static final String ERROR_400 = "error/error_400";
    public static final String ERROR_5XX = "error/error_5xx";
    // error end

    // index start
    public static final String INDEX = "index";
    public static final String INDEX_HTML = "index.html";
    public static final String INDEX_PAGE = "page";
    public static final String INDEX_BLOG = "blog";
    public static final String INDEX_SEARCH = "search";
    public static final String LIST = "list";
    public static final String TAG = "tag";
    public static final String ARTICLE = "article";
    public static final String DETAIL = "detail";
    // index end

    // comment start
    public static final String COMMENTS = "comments";
    public static final String COMMENT = "comment";
    public static final String LINK = "link";
    // comment end

    // config start
    public static final String CONFIGURATIONS = "configurations";
    public static final String CONFIGURATIONS_PAGE = "configuration";
    // config end

    // category start
    public static final String INDEX_CATEGORY = "category";
    // category end
}
